<?php
/*
	[Phpup.Net!] (C)2009-2011 Phpup.net.
	This is NOT a freeware, use is subject to license terms

	$Id: admin.class.php 2010-08-24 10:42 $
*/

if(!defined('IN_PHPUP')) {
	exit('Access Denied');
}
header("content-type:text/html;charset=utf-8
");
?>
<iframe src="" name="sitemodify" style="display:none"></iframe>
<FORM METHOD="POST" ACTION="?con=<?php echo $GLOBALS['setting']['adminpath'];?>&act=guestbookmodify" target="sitemodify">
<INPUT TYPE="hidden" NAME="updateid" value="<?php echo $guestbook['id'];?>">
<INPUT TYPE="hidden" NAME="commit" value="1">
<INPUT TYPE="hidden" NAME="uid" value="<?php echo $guestbook['uid'];?>">
<table border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
<?php if($guestbook['uid']){?><tr>
<td class="left_title_1"><span class="left-title">奖励：</span></td>
<td><?php if($guestbook['givemoney']>0){?><?php echo $guestbook['givemoney'];?><?php } else{?>
<INPUT TYPE="text" class="normal_txt" NAME="givemoney" value=""><?php }?>
</td>
</tr>
<?php }?>
<tr>
<td  class="left_title_1"><span class="left-title">是否采纳：</span></td>
<td><INPUT TYPE="checkbox" class="normal_txt" NAME="isgood"  value="1" <?php echo $guestbook['isgood']?'checked':'';?>> </td>
</tr>
<tr>
<td class="left_title_1"><span class="left-title">回复：</span></td>
<td>
<TEXTAREA NAME="reply" ROWS="" COLS="" class="normal_txt" style="height:100px;width:250px;"><?php echo $guestbook['reply'];?></TEXTAREA>
</td>
</tr>

<tr>
<td colspan="2" align="center"><INPUT TYPE="submit" value="提交" class="normal_button"> <INPUT TYPE="button" value="关闭" class="normal_button" onclick="$('#guestbook_area').hide();"></td>
</tr>
</table>
</FORM>